<html>
<head><meta charset="utf-8"><title>compiler-builtins gating · t-libs · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/index.html">t-libs</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/compiler-builtins.20gating.html">compiler-builtins gating</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="243482297"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/compiler-builtins%20gating/near/243482297" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jethro <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/compiler-builtins.20gating.html#243482297">(Jun 22 2021 at 07:50)</a>:</h4>
<p>Rust CI is currently not gated on running the std tests on any targets that rely on compiler_builtins/libm. See e.g. this test failure <a href="https://github.com/rust-lang/rust/pull/85925#discussion_r654904770">https://github.com/rust-lang/rust/pull/85925#discussion_r654904770</a> This makes some sense, since none of these targets are tier 1. However, these components are used in many tier 2/tier 3 targets. Would it make sense to try to somehow run the Rust test suite with compiler_builtins in CI?</p>



<a name="243482301"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/compiler-builtins%20gating/near/243482301" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jethro <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/compiler-builtins.20gating.html#243482301">(Jun 22 2021 at 07:50)</a>:</h4>
<p>additional background: LLVM will insert calls to various functions as part of code generation. On e.g. Linux these functions are fulfilled by linking libc, libm, libgcc, etc. For platforms that don't have these functions natively (bare metal etc.), the Rust project has developed the compiler_builtins and libm crates.</p>



<a name="243482312"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/compiler-builtins%20gating/near/243482312" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jethro <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/compiler-builtins.20gating.html#243482312">(Jun 22 2021 at 07:50)</a>:</h4>
<p>I already discussed this with the infra team and they seem ok with doing testing on some easy-to-support target (e.g. Linux, but with compiler_builtins) if some other team (likely you folks?) decides this would be useful.</p>



<a name="243482581"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/compiler-builtins%20gating/near/243482581" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jethro <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/compiler-builtins.20gating.html#243482581">(Jun 22 2021 at 07:53)</a>:</h4>
<p>(on a related note: when is the next libs-impl team meeting? I don't see it in the google calendar)</p>



<a name="243490718"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/compiler-builtins%20gating/near/243490718" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/compiler-builtins.20gating.html#243490718">(Jun 22 2021 at 09:22)</a>:</h4>
<blockquote>
<p>Would it make sense to try to somehow run the Rust test suite with compiler_builtins in CI?</p>
</blockquote>
<p>Yes, absolutely. That'd be great. Check with <a class="stream" data-stream-id="242791" href="/#narrow/stream/242791-t-infra">#t-infra</a> for the details though. They manage the CI and test suite.</p>



<a name="243490741"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/compiler-builtins%20gating/near/243490741" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/compiler-builtins.20gating.html#243490741">(Jun 22 2021 at 09:22)</a>:</h4>
<blockquote>
<p>already discussed this with the infra team</p>
</blockquote>
<p>Ah ^^</p>



<a name="243490902"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/compiler-builtins%20gating/near/243490902" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/compiler-builtins.20gating.html#243490902">(Jun 22 2021 at 09:24)</a>:</h4>
<blockquote>
<p>if some other team (likely you folks?) decides this would be useful.</p>
</blockquote>
<p>We're also (indirectly) responsible for compiler_builtins, so having that properly tested would be great.</p>



<a name="243491090"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/compiler-builtins%20gating/near/243491090" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/compiler-builtins.20gating.html#243491090">(Jun 22 2021 at 09:26)</a>:</h4>
<blockquote>
<p>when is the next libs-impl team meeting? I don't see it in the google calendar</p>
</blockquote>
<p>Oh, I forgot to set the meeting to repeat. The (non-api) libs meeting is every wednesday, before the libs API meeting. So next one is tomorrow</p>



<a name="243491374"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/compiler-builtins%20gating/near/243491374" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jethro <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/compiler-builtins.20gating.html#243491374">(Jun 22 2021 at 09:28)</a>:</h4>
<p>ok, do you want to put this on the agenda for tomorrow?</p>



<a name="243493224"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/compiler-builtins%20gating/near/243493224" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jethro <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/compiler-builtins.20gating.html#243493224">(Jun 22 2021 at 09:48)</a>:</h4>
<p>unless you think this is ready for a PR?</p>



<a name="243495967"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/compiler-builtins%20gating/near/243495967" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/compiler-builtins.20gating.html#243495967">(Jun 22 2021 at 10:19)</a>:</h4>
<p>i don't think there's much to discuss. we should test things like this. so if you send a PR that fixes that (without increasing the CI times too much), I'll approve it.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>